/**
 * @(#)SpringBaseTestAbstract.java
 * Copyright 2012 naryou, Inc. All rights reserved.
 */
package com.dili.dd.gpi;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.transaction.TransactionConfiguration;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author  jianguo.xu
 * @date  2012-11-114
 * spring junit4测试基础类<br/>
 * 子类可以重写注释,来改变配置文件的位置和是否会滚等信息
 */
@ContextConfiguration(locations={"classpath:applicationContext-test.xml"})
@TransactionConfiguration(defaultRollback=false)
@RunWith(SpringJUnit4ClassRunner.class)
@Transactional
public class SpringBaseTest4Abstract extends
		AbstractTransactionalJUnit4SpringContextTests {
		
}
